package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevStrategy;
import cn.sciento.farm.devicemanager.dao.entity.DevTimer;
import cn.sciento.farm.devicemanager.dao.model.StrategyInfo;

import java.util.List;

public interface StrategyService {
    int insert(DevStrategy devStrategy);

    int updateById(DevStrategy devStrategy);

    int deleteById(long id);

    List<StrategyInfo> getByControllerId(long controllerId);

    DevStrategy getById(long id);

    List<DevStrategy> getByCollectionId(Long id);
}
